<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/login.css">

<script type="text/javascript" src="easyui/jquery.min.js"></script>
<script type="text/javascript" src="js/login.js"></script>
</head>

<body class="login" style="background:url(images/loginBg.jpg) no-repeat;">
	
	<form action="/admin/login" method="post">
	
		<div class="loginCenter">
			<div class="logo">LOGIN</div>
	        <div class="loginBg">
	        	<input type="text" onfocus="clearText(this);" onblur="detectText(this);" class="logoInp" name="username" />
	        	<span><img src="images/loginName.png"/></span>
	        </div>
	        <div class="loginBg">
	        	<input type="password" onfocus="clearText(this);" onblur="detectText(this);" class="logoInp" value="" name="password"/>
	        	<span><img src="images/loginPassword.png"/></span>
	        </div>
	        <div class="wid"><input type="submit" class="loginSub" value="登&nbsp;&nbsp;录" style="font-size:18px;"/></div>
			<div style="color:red;font-size:14px;" align="center"></div>    
   	 	</div>
    </form>
    
    
</body>

	
<script type="text/javascript">
	document.body.style.webkitBackgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	document.body.style.mozBackgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	document.body.style.oBackgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	document.body.style.backgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	window.onresize = function(){
	document.body.style.webkitBackgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	document.body.style.mozBackgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	document.body.style.oBackgroundSize = getScreen().w + "px " + getScreen().h + "px ";
	document.body.style.backgroundSize = getScreen().w + "px " + getScreen().h + "px ";
}
</script>
	
	
	
	
</html>